﻿using System;
using System.ComponentModel;
using System.Data;
using System.Windows;
using ReflectionStudio.Core.Events;
namespace WPFExcelReport
{
    /// <summary>
    /// Interaction logic for ProductionOrder.xaml
    /// </summary>
    public partial class TNOKD : UIKD
    {
        public TNOKD()
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            MV = new VKDSTAMM();
            this.DataContext = MV;
            InitializeComponent();
        }
        public override void NewCommand(object sender, RoutedEventArgs e)
        {
            this.Focus();
            PM["KDSTAKZ"] = "A";
            PM["KDKUNDNA"] = ART;
            PM["KDNAME1"] =FARBE;
            ((VKDSTAMM)MV).KDNEW(PM);
            vwMaster.View.MoveCurrentToFirst();
             
         }
    }
}
